package methodFactory;

public class TeslaFactory implements Factory{
    @Override
    public Car getCar() {
        return new Tesla("特斯拉");
    }
}
